<html>
<head><meta charset="utf-8"><title>Is `--config` on a path towards stabilization? · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Is.20.60--config.60.20on.20a.20path.20towards.20stabilization.3F.html">Is `--config` on a path towards stabilization?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="210598959"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Is%20%60--config%60%20on%20a%20path%20towards%20stabilization%3F/near/210598959" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Is.20.60--config.60.20on.20a.20path.20towards.20stabilization.3F.html#210598959">(Sep 19 2020 at 05:37)</a>:</h4>
<p>Context: <a href="http://docs.rs">docs.rs</a> wants a way to pass <code>rustc</code> flags to cargo but still preserve whitespace: <a href="https://github.com/rust-lang/docs.rs/pull/1057">https://github.com/rust-lang/docs.rs/pull/1057</a>. I know <code>--config</code> is still unstable - is that because cargo isn't sure they <em>want</em> to ever stabilize it? Or because it still needs design work/is relatively new?</p>



<a name="210624337"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Is%20%60--config%60%20on%20a%20path%20towards%20stabilization%3F/near/210624337" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Is.20.60--config.60.20on.20a.20path.20towards.20stabilization.3F.html#210624337">(Sep 19 2020 at 16:55)</a>:</h4>
<p>I think we probably will want to stabilize it, but we haven't really talked about it.  There's still a significant unresolved issue (on the tracking issue).</p>



<a name="210624707"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Is%20%60--config%60%20on%20a%20path%20towards%20stabilization%3F/near/210624707" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Is.20.60--config.60.20on.20a.20path.20towards.20stabilization.3F.html#210624707">(Sep 19 2020 at 17:04)</a>:</h4>
<blockquote>
<p>Unresolved issues</p>
<p>Make TOML restricted to KEY=VALUE. Will need updates to the toml crate to make that possible.</p>
</blockquote>
<p>This is unresolved as in 'not implemented', right? That's fine for <a href="http://docs.rs">docs.rs</a>, we're only using <code>build.rustflags=</code></p>



<a name="210624730"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Is%20%60--config%60%20on%20a%20path%20towards%20stabilization%3F/near/210624730" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Is.20.60--config.60.20on.20a.20path.20towards.20stabilization.3F.html#210624730">(Sep 19 2020 at 17:05)</a>:</h4>
<p>correct, it is not implemented.</p>



<a name="210624743"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Is%20%60--config%60%20on%20a%20path%20towards%20stabilization%3F/near/210624743" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Is.20.60--config.60.20on.20a.20path.20towards.20stabilization.3F.html#210624743">(Sep 19 2020 at 17:05)</a>:</h4>
<p>Ok neat, I feel comfortable using this in prod then</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>